package com.leucoderma.medicine.mapper;

import com.leucoderma.medicine.pojo.Patient;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
@Mapper
public interface PatientMapper {
    List<Patient> listPatients();
    Patient getPatientById(Long id);
    Patient getPatientByNameAndRecordNo(String name,String recordNo);
}
